/*
  Copyright � 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  ThanhNam ERP Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using VINETLIFE.DAL;
using VINETLIFE.DO;
/// <summary>
/// Summary description for CS_OrderHistoryBL
/// </summary>
namespace VINETLIFE.BL
{
    public class CS_OrderHistoryBL
    {
        #region Private Variables
        CS_OrderHistoryDAL objCS_OrderHistoryDAL;
        #endregion

        #region Public Constructors
        public CS_OrderHistoryBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objCS_OrderHistoryDAL = new CS_OrderHistoryDAL();
        }
        #endregion

        #region Public Methods
        public int Insert(CS_OrderHistoryDO objCS_OrderHistoryDO)
        {
            return objCS_OrderHistoryDAL.Insert(objCS_OrderHistoryDO);
        }

        public int Update(CS_OrderHistoryDO objCS_OrderHistoryDO)
        {
            return objCS_OrderHistoryDAL.Update(objCS_OrderHistoryDO);

        }

        public int Delete(CS_OrderHistoryDO objCS_OrderHistoryDO)
        {
            return objCS_OrderHistoryDAL.Delete(objCS_OrderHistoryDO);

        }

        public int DeleteAll()
        {
            return objCS_OrderHistoryDAL.DeleteAll();
        }

        public CS_OrderHistoryDO Select(CS_OrderHistoryDO objCS_OrderHistoryDO)
        {
            return objCS_OrderHistoryDAL.Select(objCS_OrderHistoryDO);
        }

        public ArrayList SelectAll1()
        {
            return objCS_OrderHistoryDAL.SelectAll1();
        }

        public DataTable SelectAll()
        {
            return objCS_OrderHistoryDAL.SelectAll();
        }

        public DataTable GetByOrder(int orderId)
        {
            return objCS_OrderHistoryDAL.GetByOrder(orderId);
        }

        #endregion

    }

}
